/*
* @Author: Yejing
* @Date: 2023-06-10 10:31:18
* @LastEditors: Yejing
* @LastEditTime: 2023-06-10 15:54:12
* @Description: desc
*/
<template>
	<view class="notice-page">
		<!-- 头部 -->
		<c-navigation-bar :title="$t('notice.noticeTitle')">
		</c-navigation-bar>
		<view class="container-box">
			<view v-html="html"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				html: '',
				currentId: ''
			}
		},
		onLoad(data) {
			console.log(data);
			this.getMsgAjax(data.id)
		},
		methods: {
			getContetnt(content) {
				this.html = JSON.parse(content).data
			},
			getMsgAjax(id){
				this.$u.get('/app/openSysMessage/getSysMessage/'+id).then(res=>{
					this.getContetnt(res.data.content)
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.notice-page {}
</style>